package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 承办人表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "FamilyAgentEntity", name = "family_agent", comment = "承办人表")
public class FamilyAgentEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 承办人类型
     */
    @MyColumn(value = "agentType", name = "agent_type", comment = "承办人类型", required = true)
    private Integer agentType;

    /**
     * 承办单位名称
     */
    @MyColumn(value = "agentUnitName", name = "agent_unit_name", comment = "承办单位名称")
    private String agentUnitName;

    /**
     * 承办人姓名
     */
    @MyColumn(value = "agentName", name = "agent_name", comment = "承办人姓名")
    private String agentName;

    /**
     * 承办人性别编码
     */
    @MyColumn(value = "agentGenderCode", name = "agent_gender_code", comment = "承办人性别编码")
    private Integer agentGenderCode;

    /**
     * 证件类型编码
     */
    @MyColumn(value = "certificateTypeCode", name = "certificate_type_code", comment = "证件类型编码")
    private Integer certificateTypeCode;

    /**
     * 证件号码
     */
    @MyColumn(value = "certificateNo", name = "certificate_no", comment = "证件号码")
    private String certificateNo;

    /**
     * 与逝者关系文本
     */
    @MyColumn(value = "agentRelation", name = "agent_relation", comment = "与逝者关系文本")
    private String agentRelation;

    /**
     * 手机号码
     */
    @MyColumn(value = "mobilePhone", name = "mobile_phone", comment = "手机号码")
    private String mobilePhone;

    /**
     * 其他电话
     */
    @MyColumn(value = "otherPhone", name = "other_phone", comment = "其他电话")
    private String otherPhone;

    /**
     * 联系地址
     */
    @MyColumn(value = "address", name = "address", comment = "联系地址")
    private String address;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public String getBusinessCode() {
        return businessCode;
    }

    public FamilyAgentEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getAgentType() {
        return agentType;
    }

    public FamilyAgentEntity setAgentType(Integer agentType) {
        this.agentType = agentType;
        return this;
    }

    public String getAgentUnitName() {
        return agentUnitName;
    }

    public FamilyAgentEntity setAgentUnitName(String agentUnitName) {
        this.agentUnitName = agentUnitName;
        return this;
    }

    public String getAgentName() {
        return agentName;
    }

    public FamilyAgentEntity setAgentName(String agentName) {
        this.agentName = agentName;
        return this;
    }

    public Integer getAgentGenderCode() {
        return agentGenderCode;
    }

    public FamilyAgentEntity setAgentGenderCode(Integer agentGenderCode) {
        this.agentGenderCode = agentGenderCode;
        return this;
    }

    public Integer getCertificateTypeCode() {
        return certificateTypeCode;
    }

    public FamilyAgentEntity setCertificateTypeCode(Integer certificateTypeCode) {
        this.certificateTypeCode = certificateTypeCode;
        return this;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public FamilyAgentEntity setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
        return this;
    }

    public String getAgentRelation() {
        return agentRelation;
    }

    public FamilyAgentEntity setAgentRelation(String agentRelation) {
        this.agentRelation = agentRelation;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public FamilyAgentEntity setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getOtherPhone() {
        return otherPhone;
    }

    public FamilyAgentEntity setOtherPhone(String otherPhone) {
        this.otherPhone = otherPhone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public FamilyAgentEntity setAddress(String address) {
        this.address = address;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public FamilyAgentEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}